#include<stdio.h>
int n,i,c;
int numofpeaple[5];
int main() {
   printf("please input the number of peaple\n");
   scanf("%d",&n);

   printf("please input your score\n");
   for (i=1;i<=n;i++) {
    scanf("%d",&c);
   if(c>=1&&c<=5) {
   numofpeaple[c]++;
   numofpeaple[0]++;//youxiao piao
   }else {
     printf("unavaliable rate\n");
     }
   }
  for(i=1;i<6;i++) {
        printf("%d--%d\n",i,numofpeaple[i]);

  }
printf("avaliable rate=%d",numofpeaple[0]);
  getch();//YUNXINGWAN BU GUAN BI
  return 0;



}
